package org.eiahe.hr.attendance.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.eiahe.hr.attendance.domain.AnnualLeaveRule;

import java.util.Date;

/**
 * 年假规则视图对象
 *
 * @author zhangnn
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = AnnualLeaveRule.class)
public class AnnualLeaveRuleVo {

    /**
     * 规则ID
     */
    @ExcelProperty(value = "规则ID")
    private Long ruleId;

    /**
     * 规则名称
     */
    @ExcelProperty(value = "规则名称")
    private String ruleName;

    /**
     * 最小工龄(年)
     */
    @ExcelProperty(value = "最小工龄(年)")
    private Integer minWorkYears;

    /**
     * 最大工龄(年)
     */
    @ExcelProperty(value = "最大工龄(年)")
    private Integer maxWorkYears;

    /**
     * 年假天数
     */
    @ExcelProperty(value = "年假天数")
    private Integer leaveDays;

    /**
     * 是否生效
     */
    @ExcelProperty(value = "是否生效")
    private String isActive;

    /**
     * 状态
     */
    @ExcelProperty(value = "状态")
    private String status;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;

    /**
     * 创建时间
     */
    @ExcelProperty(value = "创建时间")
    private Date createTime;
}
